package com.huiminpay.transaction.convert;

import com.huiminpay.transaction.api.dto.PayChannelDTO;
import com.huiminpay.transaction.entity.PayChannel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface PayChannelConvert {
    PayChannelConvert INSTANCE = Mappers.getMapper(PayChannelConvert.class);

    List<PayChannelDTO> entityListToDtoList(List<PayChannel> entityList);
}
